package com.lp.common;

import java.nio.charset.Charset;

public interface Constants {

    final String  ACCESS_KEY = "vABZaf1Zuid-gC4cgkbtqZVe49upQxgQBTiHqYOS";
    final  String SECRET_KEY = "li-kiue-6Ve1a4jARvydgCuFpR-r69sasiJOb37f";
    final int EXPIRE_SECORDS=3600;
    final String QINIU_TOKEN_BUCKET="qiniu_token_";


    public static final String CHECKED_LONGIN_INCLUDE_PATH="/**";
    public static final String CHECKED_LONGIN_EXCLUDE_PATH="/redis/**";
    public static final Charset UTF_8            = Charset.forName("UTF-8");
    public static final String PROXY_HOST="proxy_host";
    public static final String PROXY_PORT="proxy_port";
    public  static final String PROXY_HOST_PORT="proxy_host_port";

    public static final String PROXY_IP="http://ip.11jsq.com/index.php/api/entry?method=proxyServer.generate_api_url&packid=0&fa=0&fetch_key=&qty=1&time=101&pro=&city=&port=1&format=txt&ss=1&css=&dt=1&specialTxt=3&specialJson=";
    /**
     * 编码格式
     */
    public static final String CHARSET = "UTF-8";

    /**
     * 无效
     */
    public static final Byte EABLE=Byte.valueOf("1");
    /**
     * 有效
     */
    public static final Byte DISABLE=Byte.valueOf("0");
    /**
     * 成功
     */
    public static final Byte SUCCESS=Byte.valueOf("1");
    /**
     * 失败
     */
    public static final Byte FAIL=Byte.valueOf("0");

}
